/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package swa.e_store.application;

import swa.e_store.DTO.ArticleDTO;
import swa.e_store.DTO.AuthenticationDTO;
import swa.e_store.DTO.CustomerDTO;
import swa.e_store.DTO.CustomerReportDTO;
import swa.e_store.DTO.EmployeeDTO;
import swa.e_store.DTO.OfferDTO;
import swa.e_store.DTO.OrderDTO;
import swa.e_store.DTO.ShopReportDTO;
import swa.e_store.DTO.StockDTO;
import swa.e_store.ENUM.EmployeeState;

/**
 *
 * @author Stefan
 */
public class BL_RemoteFacade implements BL_Interface {

    @Override
    public ArticleDTO setPrice(int artNbr, long price, int USR) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public OfferDTO setOffer(int artNbr, int amount, String dateFrom, String dateTo, int USR) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public OrderDTO setOrder(int shopNbr, int artNbr, int amount, int USR) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public StockDTO getStock(int artFrom, int artTo, int shopNbr) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public ShopReportDTO getShopReport(int reportType, int USR) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public CustomerReportDTO getCustomerReport(int CustomerNbr, String dateFrom, String dateTo) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public CustomerDTO getCustomerInfo(int customerNbr, int USR) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public EmployeeDTO getEmployeeInfo(int EmployeeNbr, int USR) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public AuthenticationDTO authenticate(String username, String password) {
////TODO: DECOMMENT and delete returnstatement!
//        // call businessfunctionality
//        EmployeeState empState = BL_Authentication.authenticate(username, password);
//        
//        // build and return dto.
//        return new AuthenticationDTO(username, password, empState);
        return new AuthenticationDTO(username, password, EmployeeState.ASSISTANT);
    }
    
}
